//控制页面大小函数

const footer = new Vue({
    el:"#footer",
    data(){
        return{
            main:main,
        }
    },
    methods:{
        

    },
    computed:{
        computed_thisSelectObject:function(){
            let returnData = "未选择对象";
            let mouse_selectComponentIdS =  this.main.mouse_selectComponentIdS;
            // console.log("----------------------------",mouse_selectComponentIdS);
            if (mouse_selectComponentIdS.length >= 2) 
            {
                returnData  = "多个对象";
            }else  if (mouse_selectComponentIdS.length == 1  && mouse_selectComponentIdS[0] != undefined) 
            {
                let thisObject = this.main.requestData[this.main.requestData.modelType][mouse_selectComponentIdS[0]];
                returnData = "名称:"+ thisObject.data.name +";    类型:"+ thisObject.component;
            }




            return returnData;
        }
    },
    created()
    {
       
        
        

    }
});




var footerS = document.getElementById("footer");



//动画初始化
function controller_init(){
    //执行动画内容
    footerS.style.transform = "translateY(80px)";
}



controller_init();




//动画执行
function controller_exit(){
    
    setTimeout(()=>{


        //执行动画内容
        anime({
            targets:footerS,
            duration:700,
            // delay:1000,
            translateY: 0,
            update:function(){
            }
        });



    },Math.round(Math.random()*600));


}

setTimeout(controller_exit,000);
